﻿@model FO.Models.ProductFAQ
@{
    ViewBag.Title = "Cập nhật FAQs - Cho vay ngắn hạn";
    Layout = "~/Views/Shared/_CpanelLayout.cshtml";
}

<script type="text/javascript">
    $(document).ready(function () {
        $(".active-tab").removeClass("active-tab");
        $("a[rel=rel-loan]").parent().parent().css("display", "block");
        $("a[rel=rel-loan]").parent().parent().prev().addClass("active-tab");
        $("a[rel=rel-loan]").addClass("active-tab");
    });
</script>
<style type="text/css">
    label {
        font-weight: bolder;
        color: #2069b4;
    }
</style>
<script type="text/javascript" src="@Url.Content("~/Content/tinymce/tinymce.min.js")"></script>
<div class="cbread_crumb">
    <ul>
        <li><a href="/Cpanel">Control panel</a></li>
        <li><a href="/Loan/ShowCase">Vay vốn</a></li>
        <li><a href="/ShortTermLoan/ShowCase">Cho vay ngắn hạn</a></li>
        <li><a href="/ShortTermLoan/FAQShowCase">FAQs</a></li>
        <li><a href="/ShortTermLoan/ManagerFAQ">Quản lý FAQs</a></li>
         <li class="lastli"><a href="/ShortTermLoan/UpdateFAQ/@Model.ProductFAQID">Cập nhật</a></li>
    </ul>
</div>
<div class="content-module-heading cf">

    <h3 class="fl">Cập nhật FAQs - Cho vay ngắn hạn</h3>


</div>
<!-- end content-module-heading -->


<div class="innerLR">
    @using (Html.BeginForm())
    {
        @Html.HiddenFor(m => m.ProductFAQID)
        <p>
            @Html.Label("" + FOResource.UI.CpanelLayout.question + "")
            @Html.TextAreaFor(m => m.FAQTitles, new { style = "width:600px; height:50px;", @class = "round default-width-input" })

        </p>
        <p>@Html.ValidationMessageFor(m => m.FAQTitles, "", new { @style = "color:red;" })</p>
          
        <p>
            @Html.Label("" + FOResource.UI.CpanelLayout.answer + "")
            @Html.TextAreaFor(m => m.FAQAnwers, new { style = "width:600px; height:50px;", @class = "round default-width-input" })

        </p>
        <p>@Html.ValidationMessageFor(m => m.FAQAnwers, "", new { @style = "color:red;" })</p>
             
                        
         <div class="clr"></div>
                              
        <input type="submit" value="Lưu" class="button round blue image-right ic-add text-upper" />               
    }
</div>
<!-- end content-module-main -->
